<?php

namespace app\adminapi\model;

use think\Model;

class News extends Model
{

    //关联详情
    public function content(){
        return $this->hasOne('Content','n_id');
    }
}
